<?php
// +----------------------------------------------------------------------
// | 修改展现形式
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
return [
    '__pattern__' => [
        'name' => '\w+',
        'id' => '\d+',
        'cateid'=>'\d+',
        'tagtitle'=>'\w+',
    ],
    '[tagtitle]'     => [
        ':id'   => ['index/search/lst', ['method' => 'get'], ['id' => '\d+']],
        ':tagtitle' => ['index/search/lst', ['method' => 'get|post']],
    ],
    'index' => 'index/index/index',
    'search' => 'index/search/lst',
    'article/:cateid/:id' => 'index/article/show',
    'thumb/:cateid/:id' => 'index/thumb/show',
    'news/:cateid' => 'index/pages/news',
    'thumb/:cateid' => 'index/pages/thumb',
    'spage/:cateid' => 'index/pages/spage',
    'spage/:cateid' => 'index/pages/spage',



];
